package com.mzd.multipledatasources2.dao.test01;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.mzd.multipledatasources2.bean.UserBean;
import com.mzd.multipledatasources2.mapper.test01.TransactionMapping1;

@Component

public class TransactionDao1 {

    @Autowired
    private TransactionMapping1 tm1;

    public boolean save(UserBean t) {
        return tm1.save(t)==1;
    }

}
